package com.J.Plane;

public class Vector3 {
	public float x;
	public float y;
	public float z;

	public static final Vector3 ZERO_VECTOR = new Vector3();
	public static final Vector3 UNIT_SCALE_VECTOR = new Vector3(1.0f, 1.0f,
			1.0f);

	public Vector3() {
		x = y = z = 0.0f;
	}

	public Vector3(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public void set(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public void add(float x, float y, float z) {
		this.x += x;
		this.y += y;
		this.z += z;
	}
	public void add(final Vector3 v) {
		add(v.x,v.y,v.z);
	}

	public Vector3 clone() {
		return new Vector3(x, y, z);
	}

	public void copyFrom(Vector3 rhs) {
		x = rhs.x;
		y = rhs.y;
		z = rhs.z;
	}
	
	public static void multiply(final Vector3 a, final Vector3 b, Vector3 out) {
	}
}
